package ltd.newbee.mall.order.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Order {
    private Long orderId;
    private String orderNo;
    private Long userId;
    private Integer totalPrice; // 单位：分
    private Integer payStatus; // 0未支付 1成功 -1失败
    private Integer payType;   // 0无 1支付宝 2微信
    private LocalDateTime payTime;
    private Integer orderStatus; // 参考 new.sql 注释
    private String extraInfo;
    private String userName;
    private String userPhone;
    private String userAddress;
    private Integer isDeleted;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}


